<div class="gioithieudv">
    <div class="tit_gioithieudv">
        danh mục sản phẩm
    </div>
    <div style="float: left" id="my_menu" class="sdmenu">
    	<?php 
		$loaisp = $ado -> TheLoai_List();
		while($row = mysql_fetch_assoc($loaisp)){
		?>
        <div>
            <span class="theloai"><?php echo $row['TenTL']; ?></span>
            <?php 
			$hang = $ado -> LoaiTin_List($row['idTL']);
			while($row_hang = mysql_fetch_assoc($hang)){
			?>
            <a href="<?php echo $row['TenTL_KD']."/".$row_hang['TenLT_KD']?>.html"><?php echo $row_hang['TenLT']; ?></a>        
            <?php } ?>
        </div>
        <?php } ?>
    </div>
</div>